using UnityEngine;
using System.Collections;

public class Menu : MonoBehaviour {
	public string scene;
	
	void OnMouseDown()
	{
		if(scene == "Intro")
		{
			PlayerPrefs.SetInt("Count",0);
		}
		
		Application.LoadLevel(scene);

	}
	
	void OnMouseEnter()
	{
		renderer.material.color = Color.black;
	}
	void OnMouseExit()
	{
		renderer.material.color = Color.white;
	}
}
